package com.grape.dp.decorator;
/**
 * 描述:LogDecorator
 * @author: myx
 * @date: 2019/7/24 0024
 * Copyright © 2019-grape. All rights reserved.
 */
public class LogDecorator extends AbstractDecorator{
    public LogDecorator(GatewayComponent gatewayComponent) {
        super(gatewayComponent);
    }
    @Override
    public void service() {
        // 调用装饰类service
        super.service();
        // 日志收集
        System.out.println("第二步>>>>日志的采集.....");
    }
}
